home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
util
/
arc
/
uux10.lha
/
uux.doc
< prev
next >
Wrap
Text File
|
1993-02-09
|
6KB
|
144 lines
UUx 1.0 -- The Ultimate "UU" Utility for The Amiga
--------------------------------------------------
Written by Asher Feldman
-----------------------
Great, but what is it?
----------------------
Hey, good question! UUx is an "amigalized" uuencode/decode utility.
Simply, it converts binary files to ASCII (and back, of course) so that
they can be transmitted on mail-only networks, such as the UseNet or Portal.
It is fully compatible with uuencode/decode utilities on other platforms,
such as Unix, or Ibm. There are already many versions of uuencode and
uudecode floating around for the Amiga, but they're all kinda archaic.
I mean, having separate utils for coding and decoding, and having to use
redirection to encode a single file isn't exactly something a beginner can
learn all that easy. The syntax was also archaic and non-standard. But
more than that, UUx has features that can be found in no other single "UU"
util, and does the work of several programs.
To encode the file myfile.lha with an old uuencode util entailed doing this:
uuencode >myfile.uu myfile.lha myfile.lha
Not a very pretty sight, especially if you're just starting out on a
network. The weird format was left over from unix systems, but I have no
idea why. Anyways, I decided to change things, so I wrote UUx, which has a
modern, Amiga style interface, just like any Amiga archiver you're probably
already accustomed to, such as LhA.
But wait, there's more!
-----------------------
UUx doesn't just do "uudecoding", but also "uuconcacting" too. That means
it can take a uuencoded file that was created by joining several uuencoded
files, with the headers left in, and still give you your binary file. That's
right, no more endless hours of editing mail headers, UUx takes care of that
for you!
Using UUx
---------
There are two versions of UUx included in this archive, "UUx" and "UUx030".
"UUx030" is optimized to run on an 68030 equipped machine. This version will
crash when run on a 68000.
When you run UUx at the command line, you should get something like this:
UUx Version 1.0 Copyright (c)1993 Asher Feldman 680x0 Version
USAGE: UUx [option] [archive name] <LhA archive name> <file(s) to encode>
options: a - encode l - LhAencode
x - decode u - LhAdecode
UUx has four options to choose from. You can encode or decode a file with
the "a" and "x" options respectively. Using the "l" option, you can do one
step LhAing and uuencoding. The "u" option will decode, and then automati-
cally decompress a .lzh or .lha archive using LhA. LhA is copyrighted 1992
by Stefan Boberg. It is the best archiver available for the Amiga as of this
writing, and I highly recommend you register it.
If I wanted to encode the file 'MyFile.lha' I would enter the following:
UUx a myfile.lha.uue myfile.lha
^^^^^^^^^^^^^^
Substitute whatever you want to call the encoded file here.
If myfile.lha.uue already exists then you will be asked if you want to
overwrite it. This is another nice feature, as the old uuencode/decode
utils would overwrite the file without asking you.
Now to decode myfile.lha.uue, you would enter:
UUx x myfile.lha.uue
If myfile.lha already exists, you will be prompted if you would
like to delete it.
If I had the files m1, m2, and m3 in the current directory, and wanted
to LhA and uuencode them I could use:
UUx l myfile.lha.uue myfile.lha m1 m2 m3
"myfile.uu" will then be created, and will contain the LhA'd file
"myfile.lha" which contains the files m1, m2 and m3. NOTE: When
using the "l" option, you MUST specify an LhA archive name, complete
with the ".lha"!
To automatically decode/de-lha the file "myfile.uu" I would use:
UUx u myfile.lha.uue
If by any chance you get an "unexpected end of input" when you try to
decode a .uue file, your file transferring procedure may be adding CR's or
something to the file. Use a CR-stripper, like TC or Filter, to remove
them first, then decode the file. When you get back on the board, see if
there's some CR setting you can adjust to eliminate them. If you still
recieve an error message, then part of the uuencoded file has been cut off,
or has been corupted.
Info
----
The uuencoding routine used by UUx is originally by Mark Horton, and was
modified by Alan Rosenthal and Bryce Nesbitt. The routine is available on
fish disk #92. The routine was then further optimized by me, before
inclusion in UUx. The files produced by UUx are 100% compatible with all
uudecoders, on all platforms. The uunconc/uudecode code was ported by me
from Un*x, and the original authors are unknown.
UUx will decode all uuencoded files (even if they still have mail headers,
etc. in them), from any source (unless they're corrupt. :-) UUx was
compiled on a 3.5meg A500 equipped with an 030/882 board using SAS/C 6.2.
UUx is Copyrighted (C)1993 by Asher Feldman. You my freely distribute UUx,
and use it for any non-commercial purpose you wish, as long as you leave the
original files intact. Commercial usage is prohibited, without written
consent by the author. If you like UUx, please feel free to send money to
the address below.
You can contact me at the following addresses:
E-Mail
------
PORTAL: Wizard0
Internet: Wizard0@cup.portal.com
asher@shell.portal.com
US Snail: (send checks here :-)
Asher Feldman
4791 Calle de Tosca
San Jose, CA 95118
And remember :
ONLY _ C_o m m o d o_r_e _
/\\ l\\ /l ll // \ /\\
/ \\ l \\ /ll ll(< __ / \\ MAKES IT POSSIBLE!!!!
/--- \\l \X ll ll \\_ll/--- \\
/______________________________\\
** AF **